/**
 * This file is part of LinkingMed project
 * translate.js - Offer the i18n for this project
 *
 * Author: Ryan H Zhang
 * Date:2016-03-16
 *
 * Copyright © 2016 Linking Medical Techonology Co., Ltd. All rights reserved.
 */

function languageConfiguration($translateProvider) {

    $translateProvider
        .translations('en', {

            // Define all menu elements
            DASHBOARD: 'Dashboard',
            GRAPHS: 'Graphs',
            MAILBOX: 'Mailbox',
            WIDGETS: 'Widgets',
            METRICS: 'Metrics',
            FORMS: 'Forms',
            APPVIEWS: 'App views',
            OTHERPAGES: 'Other pages',
            UIELEMENTS: 'UI elements',
            MISCELLANEOUS: 'Miscellaneous',
            GRIDOPTIONS: 'Grid options',
            TABLES: 'Tables',
            COMMERCE: 'E-commerce',
            GALLERY: 'Gallery',
            MENULEVELS: 'Menu levels',
            ANIMATIONS: 'Animations',
            LANDING: 'Landing page',
            LAYOUTS: 'Layouts',

            // Define some custom text
            WELCOME: 'Welcome Amelia',
            MESSAGEINFO: 'You have 42 messages and 6 notifications.',
            SEARCH: 'Search for something...',
            DEMO: 'Internationalization (sometimes shortened to \"I18N , meaning \"I - eighteen letters -N\") is the process of planning and implementing products and services so that they can easily be adapted to specific local languages and cultures, a process called localization . The internationalization process is sometimes called translation or localization enablement .',


            // Login.html
            LOGIN_BROSWEHAPPY: 'You are using an outdated browser. Please upgrade your browser to improve your experience via',
            LOGIN_WELCOM_HEADER: 'Welcome to OncologyIS radiotherapy platform',
            LOGIN_WELCOM_PARAGRAPH: 'TAGETMAN platform offers accurate radiotherapy treatment management.',
            LOGIN_USERNAME: 'Username',
            LOGIN_PASSWORD: 'Password',
            LOGIN_LOGIN: 'Login',
            LOGIN_FORGETPASSWORD: 'Forget password?',
            LOGIN_NOTHAVEACCOUNT: 'Do not have an account?',
            LOGIN_CREATEACCOUNT: 'Create an account',
            LOGIN_COPYRIGHT: 'Copyright © 2016 SanJian Medical Techonology Co., Ltd. All rights reserved.',
            LOGIN_TELPHONE: 'TEL 010-66666666',

            // Register.html
            REGISTER_HEADER: 'Register to IN+',
            REGISTER_PARAGRAPH: 'Create account to see it in action.',
            REGISTER_USERNAME: 'Username',
            REGISTER_PASSWORD: 'Password',
            REGISTER_EMAIL: 'Email',
            REGISTER_AGREE: 'Agree the terms and policy',
            REGISTER_REGISTER: 'Register',
            REGISTER_AGREEMENT: 'Already have an account?',
            REGISTER_ALREADY_ACCOUNT: '',
            REGISTER_LOGIN: 'Login',

            // main.html
            MAIN_FOOTER_COPYRIGHT: 'Copyright © 2016 SanJian Medical Techonology Co., Ltd. All rights reserved.',

            // forget_password.html
            FORGET_PASSWORD_TITLE: 'Forgot password',
            FORGET_PASSWORD_PARAGRAPH: 'Enter your email address and your password will be reset and emailed to you.',
            FORGET_PASSWORD_EMAIL: 'Email address...',
            FORGET_PASSWORD_SEND_PASSWORD: 'Send password',

        })

        .translations('cn', {

            // Define all menu elements
            DASHBOARD: '主控制台',
            HOMEPAGE: '主页',
            MYDOCTOR: '我的医生',
            EXPERT: '专家咨询',
            MYSHARE: '我的分享',
            NORMALCOUNSELING: '常规咨询',
            CLOSE: '关闭',
            INCREASED: '新增',
            QUERY: '查询',
            REVISE: '修改',
            UPLOAD: '上传',
            MYFRIENDCIRCLE:'我的朋友圈',
            MYFRIEND:'我的朋友',
            FIND:'发现',
            SETTING:'设置',
            MYCONSULT:'我的咨询',
            ChangePassword:'修改密码',
            OLDPASSWORD: '请输入原密码',
            CONFIRM: '确认',
            InformationMaintenance:'机构信息维护',
            MYIMAGE: '我的影像',
            MYRECORD: '我的病例',
            RESITEREXAMINE:'注册审核',
            PAGEBACKGROUND:'主页背景',
            MESSAGERELEASE:'消息发布',
            INFORMATIONMAINTENANCE: '机构信息维护',
            CHANGEPASSWORD: '密码修改',
            PRAVICYSETTING: '隐私设置',
            MESSAGEMANAGER:'消息管理',
            USERMANAGER:'个人用户管理',
            DOCTORMANAGER:'医生管理',
            INSTITUTIONMANAGER:'机构管理',
            SETTING:'设置',
            STARTCONSULT:'发起咨询',
            LANGUAGE: '语言',
            ENGLISH: '英文',
            CHINESE: '中文',
            GRAPHS: '图表',
            MAILBOX: '邮箱',
            WIDGETS: '控件',
            METRICS: '方格控件',
            FORMS: '表格',
            APPVIEWS: '应用界面',
            OTHERPAGES: '其他页面',
            UIELEMENTS: 'UI元素',
            MISCELLANEOUS: '其他',
            GRIDOPTIONS: '网格选项',
            TABLES: '表格',
            COMMERCE: '电商',
            GALLERY: '照片架',
            MENULEVELS: '菜单层数',
            ANIMATIONS: '动画',
            LANDING: '水平',
            LAYOUTS: '布局',

            // Define some custom text
            WELCOME: '欢迎',
            MESSAGEINFO: '欢迎您的光临.',
            SEARCH: '检索...',
            DEMO: '中文哈哈.',

            // Login.html
            LOGIN_TITLE: '登陆塔曼',
            LOGIN_BROSWEHAPPY: '您当前的浏览器已经过时，请更新您的浏览器通过',
            LOGIN_WELCOM_HEADER: 'Welcome to Oncology Information System',
            LOGIN_WELCOM_PARAGRAPH: '欢迎您使用四川省肿瘤医院放疗信息系统。本系统用于进行远程影像浏览、阅片，以及影像会诊。',
            LOGIN_USERNAME: '用户名',
            LOGIN_PASSWORD: '密码',
            LOGIN_LOGIN: '登录',
            LOGIN_FORGETPASSWORD: '忘记密码?',
            LOGIN_NOTHAVEACCOUNT: '没有账户?',
            LOGIN_CREATEACCOUNT: '新建账户',
            LOGIN_COPYRIGHT: '© 2016 四川省肿瘤医院版权所有',
            LOGIN_TELPHONE: '电话 010-66666666',

            // Register.html
            REGISTER_HEADER: '注册系统账户',
            REGISTER_PARAGRAPH: '填写您的基本系统，注册账户。',
            REGISTER_USERNAME: '用户名',
            REGISTER_PASSWORD: '密码',
            REGISTER_PASSWORD_CONFIRM: '确认密码',
            REGISTER_EMAIL: 'Email',
            REGISTER_CODE: '验证码',
            REGISTER_CODE_SEND: '发送验证码',
            REGISTER_PERSONAL: '个人用户',
            REGISTER_DOCTOR: '医生',
            REGISTER_AGREE: '同意相关条款',
            REGISTER_REGISTER: '注册',
            REGISTER_AGREEMENT: '账户已注册?',
            REGISTER_ALREADY_ACCOUNT: '',
            REGISTER_LOGIN: '登陆',
            REGISTER_PASSWORDMIN6: '请输入至少6位密码',
            REGISTER_PHONE: '手机号码',
            LOGOUT:'注销',

            // main.html
            MAIN_FOOTER_COPYRIGHT: '© 2016 三健医疗版权所有',

            // forget_password.html
            FORGET_PASSWORD_TITLE: '忘记密码',
            FORGET_PASSWORD_PARAGRAPH: '输入您的用户名，我们将会把验证码发到您的手机。',
            FORGET_PASSWORD_EMAIL: 'Email 地址...',
            FORGET_PASSWORD_SEND_PASSWORD: '发送密码',
            FORGET_PASSWORD_RETURN: '返回',
            FORGET_PASSWORD_PHONE: '手机号',
            FORGET_PASSWORD_RESET: '重置密码'
        });

    $translateProvider.preferredLanguage('cn');

}

angular
    .module('inspinia')
    .config(languageConfiguration)
